package com.data.modules.openapi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.data.modules.openapi.entity.OpenApiApp;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: open_api_app
 * @Author: data-boot
 * @Date:   2022-04-07
 * @Version: V1.0
 */
public interface IOpenApiAppService extends IService<OpenApiApp> {

    void editAuth(OpenApiApp openApiApp);

    void addAuth(OpenApiApp openApiApp);

    /**
     * 逻辑删除
     * @param id
     */
    void deleteAuth(String id);

    IPage<OpenApiApp> pageList(OpenApiApp openApiApp, Integer pageNo, Integer pageSize, HttpServletRequest req);

}
